.class final Llt/noframe/ratemeplease/TwitterDialogFragment$onViewCreated$3;
.super Ljava/lang/Object;
.source "TwitterDialogFragment.kt"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/ratemeplease/TwitterDialogFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/ratemeplease/TwitterDialogFragment;


# direct methods
.method constructor <init>(Llt/noframe/ratemeplease/TwitterDialogFragment;)V
    .locals 0

    iput-object p1, p0, Llt/noframe/ratemeplease/TwitterDialogFragment$onViewCreated$3;->this$0:Llt/noframe/ratemeplease/TwitterDialogFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 3

    .line 60
    iget-object p1, p0, Llt/noframe/ratemeplease/TwitterDialogFragment$onViewCreated$3;->this$0:Llt/noframe/ratemeplease/TwitterDialogFragment;

    invoke-virtual {p1}, Landroidx/fragment/app/DialogFragment;->dismiss()V

    .line 61
    sget-object p1, Llt/noframe/ratemeplease/RateMePlsKotlin;->S:Llt/noframe/ratemeplease/RateMePlsKotlin$S;

    invoke-virtual {p1}, Llt/noframe/ratemeplease/RateMePlsKotlin$S;->getParentInterface()Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;

    move-result-object p1

    if-eqz p1, :cond_1

    iget-object v0, p0, Llt/noframe/ratemeplease/TwitterDialogFragment$onViewCreated$3;->this$0:Llt/noframe/ratemeplease/TwitterDialogFragment;

    invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    const-string v2, "activity!!"

    invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/ratemeplease/TwitterDialogFragment$REACTION;->SKIP_BUTTON:Llt/noframe/ratemeplease/TwitterDialogFragment$REACTION;

    invoke-interface {p1, v0, v2, v1}, Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;->onTwitterReaction(Landroid/app/Activity;Llt/noframe/ratemeplease/TwitterDialogFragment$REACTION;Landroid/os/Bundle;)V

    goto :goto_0

    :cond_0
    invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwNpe()V

    throw v1

    :cond_1
    :goto_0
    return-void
.end method
